package org.jeecg.modules.xmss.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Transient;
import java.util.Date;

/**
 * @Description: 选民意见建议表
 * @Author: jeecg-boot
 * @Date:   2020-09-18
 * @Version: V1.0
 */
@Data
@ApiModel(value="xmss_ideaPage对象", description="选民意见建议表")
public class XmssIdeaVo {

	/**主键*/
	@ApiModelProperty(value = "主键")
	private String id;
	/**姓名*/
	@Excel(name = "姓名", width = 15)
	@ApiModelProperty(value = "姓名")
	private String name;
	/**手机号码*/
	@Excel(name = "手机号码", width = 15)
	@ApiModelProperty(value = "手机号码")
	private String mobile;
	/**意见建议*/
	@Excel(name = "意见建议", width = 15)
	@ApiModelProperty(value = "意见建议")
	private String idea;
	/**图片或者视频路径*/
	@Excel(name = "图片", width = 15)
	@ApiModelProperty(value = "图片或者视频路径")
	private String url;
	/**1图片   2视频*/
	@Excel(name = "1图片   2视频", width = 15)
	@ApiModelProperty(value = "1图片   2视频")
	private String type;
	/**小程序状态 1.待处理  2.处理中 3.已处理  4已评价*/
	@Excel(name = "小程序状态 1.待处理  2.处理中 3.已处理  4已评价", width = 15)
	@ApiModelProperty(value = "小程序状态 1.待处理  2.处理中 3.已处理  4已评价")
	private Integer appState;
	/**0未读  已读   点击详情就已读*/
	@Excel(name = "0未读  已读   点击详情就已读", width = 15)
	@ApiModelProperty(value = "0未读  已读   点击详情就已读")
	private java.lang.Integer isRead;
	/**乡镇id*/
	@Excel(name = "乡镇id", width = 15)
	@ApiModelProperty(value = "乡镇id")
	private String townsId;
	/**微信openId*/
	@Excel(name = "微信openId", width = 15)
	@ApiModelProperty(value = "微信openId")
	private String openId;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "修改时间")
	private Date updateTime;
	/**微信openId*/
	@Excel(name = "web状态", width = 15)
	@ApiModelProperty(value = "web状态")
	private String webStatus;

	/**编号*/
	@Transient
	@ApiModelProperty(value = "编号")
	private transient java.lang.String serialNumber;

	/**回复时间*/
	@Excel(name = "回复时间 ", width = 15)
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "回复时间")
	private java.util.Date answerTime;
	/**意见类型*/
	@ApiModelProperty(value = "意见类型")
	private java.lang.Integer ideaType;
	/**经度（纵坐标）*/
	@ApiModelProperty(value = "经度（纵坐标）")
	private java.lang.String longitude;
	/**纬度（横坐标）*/
	@ApiModelProperty(value = "纬度（横坐标）")
	private java.lang.String latitude;
	/**事件发生的地址*/
	@ApiModelProperty(value = "事件发生的地址")
	private java.lang.String address;
	/**交办人姓名*/
	@Transient
	@ApiModelProperty(value = "交办人姓名")
	@Excel(name = "交办人姓名", width = 15)
	private transient java.lang.String assignName;

}
